package com.letfox.ad.enums;

/**
 * 广告投放时间数据格式
 */
public class TimeEnums {
	
	public static final String AD_SCHEDULE_DAY = "AD_SCHEDULE_DAY";
	
	public static final String AD_SCHEDULE_HOUR = "AD_SCHEDULE_HOUR"
			;
	public static final String AD_SCHEDULE_ISNOT = "AD_SCHEDULE_ISNOT";
	
	/**
	 * 天数据枚举
	 * @author Administrator
	 *
	 */
	public enum Day{
		MONDAY("周一","1"),
		TUESDAY("周二","2"),
		WEDNESDAY("周三","3"),
		THURSDAY("周四","4"),
		FRIDAY("周五","5"),
		SAtURDAY("周六","6"),
		SUNDAY("周日","7"),
		ALLWEEK("全星期","8");
		
		private String name;
		private String value;

		private Day(String name, String value) {
			this.name = name;
			this.value = value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	/**
	 * 小时数据格式枚举
	 */
	public enum Hour {
		TIME0("0:00-0:59:59","0"),
		TIME1("1:00-1:59:59","1"),
		TIME2("2:00-2:59:59","2"),
		TIME3("3:00-3:59:59","3"),
		TIME4("4:00-4:59:59","4"),
		TIME5("5:00-5:59:59","5"),
		TIME6("6:00-6:59:59","6"),
		TIME7("7:00-7:59:59","7"),
		TIME8("8:00-8:59:59","8"),
		TIME9("9:00-9:59:59","9"),
		TIME10("10:00-10:59:59","10"),
		TIME11("11:00-11:59:59","11"),
		TIME12("12:00-12:59:59","12"),
		TIME13("13:00-13:59:59","13"),
		TIME14("14:00-14:59:59","14"),
		TIME15("15:00-15:59:59","15"),
		TIME16("16:00-16:59:59","16"),
		TIME17("17:00-17:59:59","17"),
		TIME18("18:00-18:59:59","18"),
		TIME19("19:00-19:59:59","19"),
		TIME20("20:00-20:59:59","20"),
		TIME21("21:00-21:59:59","21"),
		TIME22("22:00-22:59:59","22"),
		TIME23("23:00-23:59:59","23"),
		TIME24("全天候","24");
		
		private String name;
		private String value;
		
		private Hour(String name,String value){
			this.name=name;
			this.value=value;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
		
		/**
		 * 投放枚举
		 */
		public enum Isnot{
			YES("有投放","1"),NO("无投放","0");
			
			private String name;
			private String value;
			
			private Isnot(String name,String value){
				this.name=name;
				this.value=value;
			}

			public String getName() {
				return name;
			}

			public void setName(String name) {
				this.name = name;
			}

			public String getValue() {
				return value;
			}

			public void setValue(String value) {
				this.value = value;
			}
		}
	}
}
